package com.example.collector;

import com.example.storage.MetricsStorage;

public class MetricsCollector {

    private MetricsStorage storage;

    public MetricsCollector(MetricsStorage storage) {
        this.storage = storage;
    }
    
    public void recordRequest(RequestInfo requestInfo) {
        this.storage.saveData(requestInfo);
    }

    // public void begin(String apiName, double timeStamp) {
        
    // }
    
    // public void end(String apiName, double timeStamp) {
    // }
}